package com.ruoyi.littleRedBook.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.littleRedBook.domain.pojo.Category;

import java.util.List;

public interface CategoryService extends IService<Category> {
    AjaxResult getEnabledCategoryList();

    AjaxResult getChildCategoryList(Long parentId);

    AjaxResult getCategoryById(Long id);
}
